﻿@model PhoneBilling.Models.GradeEditModel
@{
    ViewBag.Title = "收费等级表编辑";
    Layout = "~/Views/Shared/_Layout.cshtml";
}
<script type="text/javascript">
    $(document).ready(function () {
        $("#btnConfirm").ligerButton(
        {
            click: function () {
                $('form').submit();
            }
        });
    });
    
</script>
@using (Html.BeginForm())
{ 
    <div class="system_input_contain">
        @Html.LabelFor(m => m.ID)
        @if (Model.IsNew)
        {
            @Html.TextBoxFor(m => m.ID)
            @Html.ValidationMessageFor(m => m.ID, new { style = "color:Red" })
        }
        else
        { 
            @Html.DisplayFor(m => m.ID)
        }
    </div>
    <div class="system_input_contain">
        @Html.LabelFor(m => m.Name)
        @Html.TextBoxFor(m => m.Name)
        @Html.ValidationMessageFor(m => m.Name, new { style = "color:Red" })
    </div>
    <div class="system_input_contain">
        @Html.LabelFor(m => m.Remark)
        @Html.TextBoxFor(m => m.Remark)
        @Html.ValidationMessageFor(m => m.Remark, new { style = "color:Red" })
    </div>
    <div class="system_input_contain">
        <input type="button" id="btnConfirm" value="确定" />
    </div>
}
